// Created by carolsail 

// 模式
export enum ENUM_GAME_MODE {
    NORMAL = 'NORMAL',
    PK = 'PK'
}

// 状态
export enum ENUM_GAME_STATUS {
    UNRUNING = 'UNRUNING',
    RUNING = 'RUNING'
}

// 音效
export enum ENUM_AUDIO_CLIP {
    BGM = 'bgm',
    CLICK = 'click',
    CLICK_ITEM = 'click_item',
    CLICK_NONE = 'click_none',
    LOSE = 'lose',
    WIN = 'win',
    COLLECT_POWER = 'collect_power',
    CAR_MOVE = 'car_move',
    CAR_OPEN = 'car_open',
    CAR_START = 'car_start',
    UNLOCK = 'unlock',
    SKILL_EXCHANGE = 'skill_exchange',
    SKILL_DELETE = 'skill_delete'
}

// ui层
export enum ENUM_UI_TYPE {
    MENU = 'MenuLayer',
    MAIN = 'MainLayer',
    SETTING = 'SettingLayer',
    EXIT = 'ExitLayer',
    LOSE = 'LoseLayer',
    WIN = 'WinLayer',
    MORE = 'MoreLayer',
    RANK = 'RankLayer',
    READY = 'ReadyLayer',
    MAIN_PK = 'MainPkLayer',
    EXIT_PK = 'ExitPkLayer',
    OVER = 'OverLayer',
    GIFT = 'slider_page',
    HEART = 'AddHeartBox',
}

// 资源
export const ENUM_RESOURCE_TYPE = ([
    { content: cc.AudioClip, path: 'audio', type: 'audio', ratio: 0.2 },
    { content: cc.Prefab, path: 'prefab', type: 'prefab', ratio: 0.3 },
    { content: cc.SpriteFrame, path: 'sprite', type: 'sprite', ratio: 0.3 },
    { content: cc.JsonAsset, path: 'json', type: 'json', ratio: 0.2 },
])